﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventbriteService
{
    public interface IUrlBuilder : IParametersAdapter
    {
        IUrlBuilder AddQueryString(string query);
        IUrlBuilder AddQueryString(Action<IParametersAdapter> parameters);
        IUrlBuilder AddRequestMethod(string request);
        IUrlBuilder AddRequestBaseUrl(string baseUrl = "");
        IUrlBuilder AddFormat(string format);
        IUrlBuilder AddRepeatSchedule();
        IUrlBuilder AddConfiguration(IEventBriteConfiguration config);
        IUrlBuilder Expand();
        Uri Build();
   }

    public interface IParametersAdapter
    {
        string this[string key] { get; set; }
        void ClearParameters();
    }
}
